import {Component, EventEmitter, OnInit, Output} from '@angular/core';
import {Router} from '@angular/router';
import {ToastService} from '../../../common/service/toast.service';

@Component({
    selector: 'app-popover',
    templateUrl: './popover.component.html',
    // styleUrls: ['./popover.component.less'],
})
export class PopoverComponent implements OnInit {
    @Output() popoverClickResult: EventEmitter<any> = new EventEmitter<any>();

    constructor(
        private router: Router,
        private toast: ToastService,
    ) {
    }

    ngOnInit() {
    }

    goModule() {
        // this.router.navigate(['tabs/application/threeDimensional']);
        this.toast.warnToast('该功能暂未开放！');
    }
}
